home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3p / taskdestroy.z / taskdestroy
Encoding:
Text File  |  1998-10-20  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTAAAASSSSKKKKDDDDEEEESSSSTTTTRRRROOOOYYYY((((3333PPPP))))                                                TTTTAAAASSSSKKKKDDDDEEEESSSSTTTTRRRROOOOYYYY((((3333PPPP))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      taskdestroy - destroy a task
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttaaaasssskkkk....hhhh>>>>
  14.  
  15.      iiiinnnntttt ttttaaaasssskkkkddddeeeessssttttrrrrooooyyyy ((((ttttiiiidddd____tttt ttttiiiidddd))));;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _T_a_s_k_d_e_s_t_r_o_y causes the named task to be destroyed.  Any task within a
  19.      process can destroy any other task in that process.
  20.  
  21.      _T_a_s_k_d_e_s_t_r_o_y will fail and no task will be destroyed if the following is
  22.      true:
  23.  
  24.      [EINVAL]  The _t_i_d specified is not a valid task id for the calling
  25.                process.
  26.  
  27. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  28.      sproc(2), taskblock(3P), taskctl(3P), taskcreate(3P).
  29.  
  30. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  31.      Upon successful completion, _t_a_s_k_d_e_s_t_r_o_y returns 0.  Otherwise, a value of
  32.      -1 is returned to the calling task, and _e_r_r_n_o is set to indicate the
  33.      error.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.